<!-- Modal -->
<div class="modal fade" id="alertModal" tabindex="-1" role="dialog" aria-labelledby="alertModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h3 class="modal-title" id="alertModalLabel">Connexion</h3>
      </div>
      <div class="modal-body">
         <div id="alertMsg" class="alert alert-success" role="alert"></div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" id="buttonAlertOk">Voir</button>
      </div>
    </div>
  </div>
</div>
<script>
    $(document).ready(function(){
        
        $('#alertModal').on('show.bs.modal', function (event) {
        });
   });
       
</script>